import pylab
from pylab import arange,pi,sin,cos,sqrt

fig_width_pt = 246.0  # Get this from LaTeX using \showthe\columnwidth
inches_per_pt = 1.0/72.27               # Convert pt to inch
golden_mean = (sqrt(5)-1.0)/2.0         # Aesthetic ratio
fig_width = fig_width_pt*inches_per_pt  # width in inches
fig_height = fig_width*golden_mean      # height in inches
fig_size =  [fig_width,fig_height]
params = {'backend': 'ps',
        'axes.labelsize': 10,
        'text.fontsize': 10,
        'legend.fontsize': 8,
        'xtick.labelsize': 10,
        'ytick.labelsize': 10,
        'lines.markersize': 3,  
        'lines.mfc': 'g',  
        'text.usetex': True,
        'figure.figsize': fig_size}
pylab.rcParams.update(params)

#default size
#FIG_AXES = [0.125,0.2,0.95-0.125,0.95-0.2]

#alternative size for more space on the left side
FIG_AXES2 = [0.18,0.2,0.95-0.18,0.95-0.2]

# Symbols 
symbols = ['-','--','-.',':','.',',','o','^','v','<','>','s','+','x','D','d','1','2','3','4','h','H','p']
markers = ['x','o','^','v','<','>','s','+','.','D','d','1','2','3','4','h','H','p']
# Symbols + line
lps = [k+'-' for k in [',','.','o','^','v','<','>','s','+','x','D','d','1','2','3','4','h','H','p']]
lps = [k+'-' for k in ['o','^','s','+','x','<','>','v','D','d','1','2','3','4','h','H','p','.',',']]
# Colors
colors= ['b','g','r','c','m','y','k','w']

WORKDIR = '/Users/salvo/data/work/experimental/'

